package com.honghe.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.honghe.common.annotation.Excel;
import com.honghe.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 客户联系记录对象 customer_contact_record
 * 
 * @author honghe
 */
public class CustomerContactRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long recordId;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String caseId;

    /** 联系方式（电话、短信、微信等） */
    @Excel(name = "联系方式", readConverterExp = "1=电话,2=短信,3=微信,4=拜访,5=其他")
    private String contactType;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系结果 */
    @Excel(name = "联系结果", readConverterExp = "1=已接通,2=未接通,3=无效号码,4=拒接,5=无回应,6=其他")
    private String contactResult;

    /** 联系时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "联系时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date contactTime;

    /** 联系内容 */
    @Excel(name = "联系内容")
    private String contactContent;

    /** 下次联系时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下次联系时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date nextContactTime;

    /** 下次联系计划 */
    @Excel(name = "下次联系计划")
    private String nextContactPlan;

    /** 文件信息(格式：文件名|文件路径，多个文件用分号分隔) */
    @Excel(name = "文件信息")
    private String fileInfo;

    /** 客户姓名（非数据库字段，用于前端展示） */
    private String customerName;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }

    public void setCaseId(String caseId) 
    {
        this.caseId = caseId;
    }

    public String getCaseId() 
    {
        return caseId;
    }

    public void setContactType(String contactType) 
    {
        this.contactType = contactType;
    }

    public String getContactType() 
    {
        return contactType;
    }

    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }

    public void setContactResult(String contactResult) 
    {
        this.contactResult = contactResult;
    }

    public String getContactResult() 
    {
        return contactResult;
    }

    public void setContactTime(Date contactTime) 
    {
        this.contactTime = contactTime;
    }

    public Date getContactTime() 
    {
        return contactTime;
    }

    public void setContactContent(String contactContent) 
    {
        this.contactContent = contactContent;
    }

    public String getContactContent() 
    {
        return contactContent;
    }

    public void setNextContactTime(Date nextContactTime) 
    {
        this.nextContactTime = nextContactTime;
    }

    public Date getNextContactTime() 
    {
        return nextContactTime;
    }

    public void setNextContactPlan(String nextContactPlan) 
    {
        this.nextContactPlan = nextContactPlan;
    }

    public String getNextContactPlan() 
    {
        return nextContactPlan;
    }

    public String getFileInfo() {
        return fileInfo;
    }

    public void setFileInfo(String fileInfo) {
        this.fileInfo = fileInfo;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }
} 